home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: uu4news.netcom.com!zodiac!szh
- From: szh@zcon.com (Syed Zaeem Hosain)
- Subject: Re: Newbie doesn't understand compiler error
- Message-ID: <1996Mar8.172829.26015@zcon.com>
- Sender: szh@zcon.com (Syed Zaeem Hosain)
- Nntp-Posting-Host: zodiac
- Reply-To: szh@zcon.com
- Organization: Z Consulting Group
- References: <4hoffl$l74@aphex.direct.ca>
- Date: Fri, 8 Mar 1996 17:28:29 GMT
-
- In article <4hoffl$l74@aphex.direct.ca>, etoivane@direct.ca (Ed Toivanen) writes:
- >
- >>main( int argv, char *argc[] ) <<- Compiler states "Syntax error at or near
- >
- >Try
- > main(int argc, char* argv[])
- >
- >That should fixn things up.
-
- No, that is not the error. The variables can be called anything - it is
- merely common practice that the first is called argc, and the second is
- argv. But this is not a strict requirement of any kind.
-
- I don't really have a suggestion for a fix - more info than this is
- needed (I do not see the original post that asked the question about
- this error).
-
- Z
-
-
- --
- -------------------------------------------------------------------------
- | Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
- | Z Consulting Group San Jose, CA 95161 szh@zcon.com |
- -------------------------------------------------------------------------
-